import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {DiscoveryComponent} from "./discovery.component";
import {routing} from "./discovery.routing";
import {Ng2BootstrapModule, PaginationModule} from "ngx-bootstrap";
import {NgZorroAntdModule} from "ng-zorro-antd";
import {NotificationModule} from "../../comm-components/notification/notification.module";
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {UploadGroupModule} from '../../comm-components/uploadgroup/uploadgroup.module';
import {UploadModule} from "../upload/upload.module";
import {EditorModule} from '../../comm-components/wangeditor/editor.module';
import { AddComponent } from './add/add.component';
import { PushComponent } from './push/push.component';
import { AddActivityComponent } from './add-activity/add-activity.component';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    PaginationModule.forRoot(),
    NgZorroAntdModule.forRoot(),
    Ng2BootstrapModule,
    NotificationModule,
    UploadModule,
    UploadGroupModule,
    EditorModule,
    routing
  ],
  declarations: [
    DiscoveryComponent,
    AddComponent,
    PushComponent,
    AddActivityComponent,
  ],
  // declarations: [ListComponent, AddComponent, WithdrawComponent]
})
export class DiscoveryModule { }
